package com.liang.mybatis01.mapper;

import com.liang.mybatis01.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    List<User> getUserList();
    User getUserById(Integer id);
    int insertUser(String userCode,String userName,String userPassword);
    int updateUser(String userCode,String userName,String userPassword);

    int deleteUser(Integer id);

    int updateUser1(Map map);
    List<User> getUserByCode(String userCode);

    int foreachInsert(Map map);
}
